package com.rd.teacher.jichao.day22;

public class Test38 {

    public static void main(String[] args) {
        Super1 s = new Sub1();
        s.show();
    }
}

class Super1 {
    public void show() {
        System.out.println("Super");
    }
}

class Sub1 extends Super1 {
    public void show() {
        System.out.println("Sub");
    }
}